package cn.kone.user.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
* 用户信息表
* @TableName tb_user
*/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    /**
    * 主键ID
    */
    @ApiModelProperty(value = "主键id")
    private Long id;


    /**
    * 用户账号
    */
    @ApiModelProperty(value = "用户账号")
    private String userName;


    /**
    * 真实姓名
    */
    @ApiModelProperty(value = "真实姓名")
    private String realName;


    /**
    * 手机号码
    */
    @ApiModelProperty(value = "手机号码")
    private String phone;


    /**
    * 用户邮箱
    */
    @ApiModelProperty(value = "用户邮箱")
    private String email;


    /**
    * 盐值
    */
    @ApiModelProperty(value = "盐值")
    private String salt;


    /**
    * 密码
    */
    @ApiModelProperty(value = "密码")
    private String password;


    /**
    * 头像地址
    */
    @ApiModelProperty(value = "头像地址")
    private String avatar;


    /**
    * 备注
    */
    @ApiModelProperty(value = "备注")
    private String remark;


    /**
    * 登录信息Id
    */
    @ApiModelProperty(value = "登录信息Id")
    private Long logininfoId;


}
